package ca.bcit.comp_3512.assignment_02.business_logic;

import ca.bcit.comp_3512.assignment_02.data_models.WeeklyEntry;

public class EditableWeeklyEntry
{
    private boolean editable;
    private WeeklyEntry weeklyEntry;
    
    EditableWeeklyEntry(WeeklyEntry weeklyEntry)
    {
        this.weeklyEntry = weeklyEntry;
    }

    public boolean isEditable()
    {
        return editable;
    }

    public WeeklyEntry getWeeklyEntry()
    {
        return weeklyEntry;
    }

    public void setEditable(boolean editable)
    {
        this.editable = editable;
    }

    public void setWeeklyEntry(WeeklyEntry weeklyEntry)
    {
        this.weeklyEntry = weeklyEntry;
    }
}
